package com.lzh.farmersshop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzh.farmersshop.mapper.ShoppcartMapper;
import com.lzh.farmersshop.entity.Shoppcart;
import com.lzh.farmersshop.service.ShoppcartService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * (Shoppcart)表服务实现类
 *
 * @author makejava
 * @since 2024-01-04 15:37:12
 */
@Service("shoppcartService")
public class ShoppcartServiceImpl extends ServiceImpl<ShoppcartMapper, Shoppcart> implements ShoppcartService {

    @Override
    public List<Map<String, Object>> findAllCartByUserid(Integer id) {
        return baseMapper.findAllCartByUserid(id);
    }
}

